<label><input
	name="<?php echo $params['name'] ?>"
	<?php echo $value?"checked":"" ?>
	type="checkbox" <?php echo $htmlOptions ?>>
	<?php echo $params['label']?>
</label>

<?php if (!empty($params['errors'])) { ?>
<div class="errors">
	<ul>
		<?php foreach($params['errors'] as $error) { ?>
		<li><?php echo $error ?></li>
		<?php } ?>
	</ul>
</div>
<?php } ?>
